package me.out1kiss.www.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping
public class SiteController {

    @GetMapping("/tools/{target}")
    public String target(@PathVariable String target) {
        return target;
    }

    @GetMapping("/index")
    public String index() {
        return "twodimensioncode";
    }

    @GetMapping("/")
    public String home() {
        return "login";
    }

}
